<?
$rtime 		= microtime();
$rtime 		= explode(" ",$rtime);
$rtime 		= $rtime[1] + $rtime[0];
$start_rb 	= $rtime;

require_once 'core/Debug.php';
require_once 'core/config_.php';//System Config...
global $server_list;

if(isset($_GET['del_c']) && (int)$_GET['del_c']==2009){
	system("rm -fr ./_cache");
	//system("rm -fr ".DIR_CACHE);
}
elseif($server_list){
	
	foreach ($server_list as $server){
		$link = "http://{$server}/delcache.php?del_c=2009";	
				
		if(@fopen($link,"r")){
			echo "run service in $link<br>";					
		}
		else{
			echo "error in $link<br>";
		}
	}
}
	
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$end_rb = $mtime;			
$page_load_time = round(($end_rb - $start_rb),5)."s";

echo "Done in $page_load_time". "<br>";
?>
